<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>后台登录-X-admin2.0</title>
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />

        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" href="../css/font.css">
        <link rel="stylesheet" href="../css/xadmin.css">
    </head>
    <body>
        <div class="x-body">
          <div style="color: #9EA6B9;font-size: 50px;"><b><!--折线图--></b></div>
            <!-- 为 ECharts 准备一个具备大小（宽高）的 DOM -->
            <div id="main" style="width: 100%;height:400px;"></div>
            
        </div>
        <script src="https://cdn.bootcss.com/echarts/3.7.0/echarts.min.js"></script>
        <script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('main'));

        // 指定图表的配置项和数据
        option = {
        	title: {
        		text: 'Stacked Line'
        	},
        	tooltip: {
        		trigger: 'axis'
        	},
        	legend: {
        		data: ['Email']
        	},
        	grid: {
        		left: '3%',
        		right: '4%',
        		bottom: '3%',
        		containLabel: true
        	},
        	toolbox: {
        		feature: {
        			saveAsImage: {}
        		}
        	},
        	xAxis: {
        		type: 'category',
        		boundaryGap: false,
        		data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
        	},
        	yAxis: {
        		type: 'value'
        	},
        	series: [{
        			name: 'Email',
        			type: 'line',
        			stack: 'Total',
        			data: [120, 132, 101, 134, 90, 230, 210]
        		}
        
        	]
        };// 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
    </script>
    
    </body>
</html>